Vcenter Namespaces Instances InfoV2

Vcenter Namespaces Instances InfoV2
Vcenter Namespaces Instances InfoV2

The Vcenter Namespaces Instances InfoV2 schema contains the detailed information about the namespace on a Supervisor.

This schema was added in vSphere API 8.0.0.1.

JSON Example
{
    "supervisor": "string",
    "zones": [
        {
            "zone": "string",
            "type": "string",
            "marked_for_removal": false
        }
    ],
    "network_spec": {
        "network_provider": "string",
        "vpc_network": {
            "vpc_config": {
                "private_cidrs": [
                    {
                        "address": "string",
                        "prefix": 0
                    }
                ]
            },
            "vpc": "string",
            "auto_created": false,
            "default_subnet_size": 0
        }
    },
    "config_status": "string",
    "messages": [
        {
            "severity": "string",
            "details": {
                "id": "string",
                "default_message": "string",
                "args": [
                    "string"
                ],
                "params": {
                    "params": {
                        "s": "string",
                        "dt": "string",
                        "i": 0,
                        "d": "number",
                        "l": "Vapi Std NestedLocalizableMessage Object",
                        "format": "string",
                        "precision": 0
                    }
                },
                "localized": "string"
            }
        }
    ],
    "stats": {
        "cpu_used": 0,
        "memory_used": 0,
        "storage_used": 0
    },
    "description": "string",
    "resource_spec": {},
    "access_list": [
        {
            "subject_type": "string",
            "subject": "string",
            "domain": "string",
            "role": "string",
            "identity_provider": "string"
        }
    ],
    "storage_specs": [
        {
            "policy": "string",
            "limit": 0
        }
    ],
    "networks": [
        "string"
    ],
    "vm_service_spec": {
        "content_libraries": [
            "string"
        ],
        "vm_classes": [
            "string"
        ]
    },
    "content_libraries": [
        {
            "content_library": "string",
            "writable": false,
            "allow_import": false,
            "resource_naming_strategy": "string"
        }
    ],
    "creator": {
        "subject": "string",
        "domain": "string"
    },
    "self_service_namespace": false
}
string
supervisor
Required

Identifier for the Supervisor hosting the namespace.

This property was added in vSphere API 8.0.0.1.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor.

zones
Optional

Configuration of vSphere Zones associated with this namespace on which workloads are created.

This property was added in vSphere API 9.0.0.0.

This property is optional because it was added in a newer version than its parent node.

network_spec
Optional

Network related configurations associated with this namespace.

This property was added in vSphere API 9.0.0.0.

This property is optional because it was added in a newer version than its parent node.

string
config_status
Required

Current setting for Vcenter Namespaces Instances ConfigStatus.

For more information see: Vcenter Namespaces Instances ConfigStatus.

This property was added in vSphere API 7.0.0.0.

messages
Required

Current set of messages associated with the object.

This property was added in vSphere API 7.0.0.0.

stats
Required

Basic runtime statistics for the namespace.

This property was added in vSphere API 7.0.0.0.

string
description
Required

Description of the namespace.

This property was added in vSphere API 7.0.0.0.

object
resource_spec
Optional

Quotas on the namespace resources. Refer to GET /vcenter/namespace-management/clusters/{cluster}/workload-resource-options for the type of the value for this field.

This property was added in vSphere API 7.0.0.0.

If missing or null, no resource constraints are associated with the namespace.

access_list
Required

Access controls associated with the namespace.

This property was added in vSphere API 7.0.0.0.

storage_specs
Required

Storage associated with the namespace.

This property was added in vSphere API 7.0.0.0.

array of string
networks
Optional

The vSphere Networks associated with the namespace.

This property was added in vSphere API 7.0.1.0.

This field is missing or null if the cluster hosting this namespace uses NSXT_CONTAINER_PLUGIN or NSX_VPC as its network provider.

When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: com.vmware.vcenter.namespace_management.Network. When operations return a value of this schema as a response, the property will contain identifiers for the resource type: com.vmware.vcenter.namespace_management.Network.

vm_service_spec
Optional

VM Service specification associated with the namespace.

This property was added in vSphere API 7.0.2.00100.

This property is optional because it was added in a newer version than its parent node.

content_libraries
Optional

List of Content Libraries used by the VM Image Service. This list refers to existing Content Libraries in vSphere inventory.

The Content Libraries specified in {VMServiceSpec#contentLibraries} will also be included in this list but will be read-only by default to users.

If the same Content Library is present both here and in {VMServiceSpec#contentLibraries}, then:

  • The Content Library is only surfaced to users once.
  • The settings here are honored.

This property was added in vSphere API 8.0.2.0.

If missing or null, no Content Libraries are configured for the VM Image Service.

creator
Optional

Creator of the namespace. Namespace self-service uses this field to populate the user who created this namespace.

This property was added in vSphere API 7.0.2.00100.

This property is optional because it was added in a newer version than its parent node.

boolean
self_service_namespace
Optional

Flag to indicate the self service namespace.

This property was added in vSphere API 7.0.2.00100.

If missing or null, the namespace is not marked as self service namespace.